﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Phoenix.AppCode.Entities
{
    public class Article
    {
        public Article(){
            idarticle = 0;
            idarticlecategory = 0;
            titlename = "";
            titlename_vi ="";
            titlename_en = "";
            content = "";
            content_vi = "";
            content_en = "";
            postdate = DateTime.Now;
            postuser = "";
            editdate = DateTime.Now;
            edituser = "";
            titlehead = "";
            titlehead_vi = "";
            titlehead_en = "";
            descriptionhead = "";
            descriptionhead_vi = "";
            descriptionhead_en = "";
            keywordhead="";
            keywordhead_vi = "";
            keywordhead_en = "";
            urlhead="";
            urlhead_vi = "";
            urlhead_en = "";
            visible = true;
            language = "";
        }
        private int idarticle;
        private int idarticlecategory;
        private string titlename;
        private string titlename_vi;
        private string titlename_en;
        private String content;
        private String content_vi;
        private String content_en;
        private DateTime postdate;
        private string postuser;
        private DateTime editdate;
        private string edituser;
        private string titlehead;
        private string titlehead_vi;
        private string titlehead_en;
        private string descriptionhead;
        private string descriptionhead_vi;
        private string descriptionhead_en;
        private string keywordhead;
        private string keywordhead_vi;
        private string keywordhead_en;
        private string urlhead;
        private string urlhead_vi;
        private string urlhead_en;
        private bool visible;
        private string language;

        public int ID_Article {
            get { return idarticle; }
            set { idarticle = value; }
        }
        public int ID_ArticleCategory
        {
            get { return idarticlecategory; }
            set { idarticlecategory = value; }
        }
        public string TitleName
        {
            get { return titlename; }
            set { titlename = value; }
        }
        public string TitleName_vi {
            get { return titlename_vi; }
            set { titlename_vi = value; }
        }
        public string TitleName_en
        {
            get { return titlename_en; }
            set { titlename_en = value; }
        }
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        public string Content_vi
        {
            get { return content_vi; }
            set { content_vi = value; }
        }
        public string Content_en
        {
            get { return content_en; }
            set { content_en = value; }
        }
        private DateTime PostDate {
            get { return postdate; }
            set { postdate = value; }
        }
        public string PostUser
        {
            get { return postuser; }
            set { postuser = value; }
        }
        private DateTime EditDate
        {
            get { return editdate; }
            set { editdate = value; }
        }
        public string EditUser
        {
            get { return edituser; }
            set { edituser = value; }
        }
        public string TitleHead
        {
            get { return titlehead; }
            set { titlehead = value; }
        }
        public string TitleHead_vi
        {
            get { return titlehead_vi; }
            set { titlehead_vi = value; }
        }
        public string TitleHead_en
        {
            get { return titlehead_en; }
            set { titlehead_en = value; }
        }
        public string DescriptionHead
        {
            get { return descriptionhead; }
            set { descriptionhead = value; }
        }
        public string DescriptionHead_vi
        {
            get { return descriptionhead_vi; }
            set { descriptionhead_vi = value; }
        }
        public string DescriptionHead_en
        {
            get { return descriptionhead_en; }
            set { descriptionhead_en = value; }
        }
        public string KeywordHead
        {
            get { return keywordhead; }
            set { keywordhead = value; }
        }
        public string KeywordHead_vi
        {
            get { return keywordhead_vi; }
            set { keywordhead_vi = value; }
        }
        public string KeywordHead_en
        {
            get { return keywordhead_en; }
            set { keywordhead_en = value; }
        }
        public string UrlHead
        {
            get { return urlhead; }
            set { urlhead = value; }
        }
        public string UrlHead_vi
        {
            get { return urlhead_vi; }
            set { urlhead_vi = value; }
        }
        public string UrlHead_en
        {
            get { return urlhead_en; }
            set { urlhead_en = value; }
        }
        public bool Visible
        {
            get { return visible; }
            set { visible = value; }
        }
        public string Language
        {
            get { return language; }
            set { language = value; }
        }
    }
}